package com.example.emqx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.emqx.entity.MybatisOneForOne;
import org.apache.ibatis.annotations.Param;

import java.util.List;
//方式一
//@Mapper
//public interface MybatisOneForOneMapper
//      /*  extends BaseMapper<MybatisOneForOne>*/
//{
//    List<MybatisOneForOne> selectList(@Param("pid") String pid);
//}

public interface MybatisOneForOneMapper
        extends BaseMapper<MybatisOneForOne>
{
    List<MybatisOneForOne> selectList(@Param("pid") String pid);
}
